$(function () {
   obj.init();
});
var obj = new function () {
    'use strict';
    return {
        form:null,
        init:function () {
            this.funObj().loadHight();
            setTimeout(function () {
               location.reload();
            },5*60*1000);
            this.listener();
        },
        listener:function () {
            var $this = this;

        },
        funObj:function () {
            var $this = this;
            return {
                loadHight:function () {
                    var height = $(document.body).outerHeight(true) - 140;
                    $('.scrollDiv').attr('style','height: '+height+'px;');
                    // $('.scrollDiv').find('table').attr('style','height: '+height+'px;');
                    window.onresize = function(){  //重新定义界面大小处理
                        var height = $(document.body).outerHeight(true) - 140;
                        $('.scrollDiv').attr('style','height: '+height+'px;');
                        // $('.scrollDiv').find('table').attr('style','height: '+height+'px;');
                    };
                },
            }
        }
    }
};